FROM debian
RUN apt-get update
RUN apt-get install nano
RUN apt-get install apache2
RUN cd /usr/local/etc//apache24
RUN mkdir ssl ; cd ssl
RUN apachectl -M | grep ssl
RUN systemctl restart httpd
RUN systemctl restart apache2
RUN service apache2 restart
RUN cd
RUN nano sites-enabled/site
RUN <VirtualHost> *:443>
    ServerName site.ru
    DocumentRoot /var/www/apache/data
    SSLEngine on
    SSLCertificateFile ssl/cert.pem
    SSLCertificateKeyFile ssl/cert/key
    #SSLCertificateChainFile ssl/cert.ca-bundle
</VirtualHost>
RUN apachectl configtest
RUN systemctl restart httpd
RUN systemctl restart apache2